home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2002-11-01 | 1.9 KB | 60 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="4"
- "COUNT"="4"
- "UIPATH"="System\File System\Folders\Data"
- "NAME"="Other Media Folders"
- "VERSION"="3.01"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Media Files"
- "TEXT 2"="My Media"
- "TEXT 3"="Graphics"
- "TEXT 4"="Web Graphics"
- "DESCRIPTION 1"=""Media Files Root" specifies the root folder for all types of media files."
- "DESCRIPTION 2"=""My Media" specifies where you normally save your media files."
- "DESCRIPTION 3"=""Graphics" specifies where your graphics are saved (*.BMP, *.PNG and so on)."
- "DESCRIPTION 4"=""Web Graphics" specifies where you save your work that is somehow related with the Internet."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="Thanks to CptSiskoX for his help!"
-
-
-
- Sub Plugin_Initialize
- s=RegReadValue("HKLM\Software\Microsoft\Windows\CurrentVersion\MMFiles\@")
- SetUIElement 1,s
-
- s=RegReadValue("HKLM\Software\Microsoft\Windows\CurrentVersion\MMFiles\MyMediaPath")
- SetUIElement 2,s
-
- s=RegReadValue("HKLM\Software\Microsoft\Windows\CurrentVersion\MMFiles\GraphicsPath")
- SetUIElement 3,s
-
- s=RegReadValue("HKLM\Software\Microsoft\Windows\CurrentVersion\MMFiles\GrWebPath")
- SetUIElement 4,s
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- s=GetUIElement(1)
- Call RegWriteValue("HKLM\Software\Microsoft\Windows\CurrentVersion\MMFiles\@",s,1)
-
- s=GetUIElement(2)
- Call RegWriteValue("HKLM\Software\Microsoft\Windows\CurrentVersion\MMFiles\MyMediaPath",s,1)
-
- s=GetUIElement(3)
- Call RegWriteValue("HKLM\Software\Microsoft\Windows\CurrentVersion\MMFiles\GraphicsPath",s,1)
-
- s=GetUIElement(4)
- Call RegWriteValue("HKLM\Software\Microsoft\Windows\CurrentVersion\MMFiles\GrWebPath",s,1)
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-